package org.wevil.vo.pay;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * paypal订单链接vo
 */
@Getter
@Setter
@ToString
public class PaypalOrderLinkVo {

    /**
     * 链接地址
     * 示例：
     * 1. https://api.sandbox.paypal.com/v2/checkout/orders/0HG6836556313231B
     * 2. https://www.sandbox.paypal.com/checkoutnow?token=0HG6836556313231B
     * 3. https://api.sandbox.paypal.com/v2/checkout/orders/0HG6836556313231B
     * 4. https://api.sandbox.paypal.com/v2/checkout/orders/0HG6836556313231B/capture
     * */
    String href;

    /**
     * 地址类型
     * 示例：self | approve | update | capture
     * */
    String rel;

    /**
     * 请求类型
     * 示例：GET | GET | PATCH | POST
     * */
    String method;
}
